
var PW_INVEN    = 0x00001 /* Display inven/equip */
var PW_EQUIP    = 0x00002 /* Display equip/inven */
var PW_SPELL    = 0x00004 /* Display spell list */
var PW_PLAYER   = 0x00008 /* Display character */
var PW_MESSAGE  = 0x00040 /* Display messages */
var PW_OVERHEAD = 0x00080 /* Display overhead view */
var PW_MONSTER  = 0x00100 /* Display monster recall */
var PW_OBJECT   = 0x00200 /* Display object recall */
var PW_VISIBLE  = 0x00400 /* Show visible monster list */
var PW_SNAPSHOT = 0x00800 /* Display snap-shot */
var PW_BORG_1   = 0x04000 /* Display borg messages */
var PW_BORG_2   = 0x08000 /* Display borg status */


var terms= {};
var term = {};
terms.max = 8;
//Terms dont work for now
terms.redraw = function(){}


for( var i = 0 ; i < terms.max ; i++ )
{
	term[i] = {};
	term[i].used = false;
	term[i].flag = 0;

}